Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> #p1 {background-color:hsla(120,100%,50%,0.3);} #p2 {background-color:hsla(120,100%,75%,0.3);} #p3 {background-color:hsla(120,100%,25%,0.3);} #p4 {background-color:hsla(120,60%,70%,0.3);} #p5 {background-color:hsla(290,100%,50%,0.3);} #p6 {background-color:hsla(290,60%,70%,0.3);} </style> </head> <body> <p>HSL colors with opacity:</p> <p id="p1">Green</p> <p id="p2">Light green</p> <p id="p3">Dark green</p> <p id="p4">Pastel green</p> <p id="p5">Violet</p> <p id="p6">Pastel violet</p> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_color_hsla by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:33:43 GMT --> </html>
Result:
Try it Yourself - © w3schools.com